package demo;

public class Square extends Shape{


    @Override
    public double getArea(double x) {
        double area = x * x;
        return area;
    }

    @Override
    public double getLength(double x) {
        double length = 4 * x;
        return length;
    }
}
